<div class="d-kuan" style="margin-bottom: -10px;">
	<div class="d-row">
		
		{if $rt >0}
		{if $rt==1}
		    {php $liangshupc=12;}
			{php $liangshuh5=12;}
		{elseif $rt==2}
		    {php $liangshupc=6;}
			{php $liangshuh5=6;}
		{elseif $rt==3}
		    {php $liangshupc=12;}
			{php $liangshuh5=4;}
		{elseif $rt >= 4}
		    {php $liangshupc=6;}
			{php $liangshuh5=6;}
		{/if}
		
		
		{table table=1_quan_form_group quanid=$id uid=$member.id page=1 pagesize=2 return=tt}
			{php $yonghuzuquanid = \Phpcmf\Service::M()->db->table('1_quan_form_yonghuzu')->where('id', $tt.gid)->get()->getRowArray();}
		<div class="col-md-12  d-xia-10">
			<div class="d-huiyuan-0 d-yuanjiao-10 d-neikuang-10">
				<div class="d-buhuanhang d-gao-25">{if $yonghuzuquanid['tubiao']}<img src="{dr_thumb($yonghuzuquanid['tubiao'])}" width="25" height="25">{/if}{$yonghuzuquanid['title']}</div>
				<div>加入时间：{dr_date($tt.stime,'Y-m-d')}</div>
				<div>到期时间：{dr_date($tt.etime,'Y-m-d')}</div>
				
				<div class="d-kuan">
					<div  class="pull-left"><a href="{dr_url('quan/yonghuzu/index',['id'=>$yonghuzuquanid.id])}" style="color:#ffe4de;">详情</a></div>
					<div class="pull-right " ><a href="{dr_url('quan/yonghuzu/index',['id'=>$yonghuzuquanid.id])}" style="color:#ffe4de;">续费</a></div>
					<!--div class="pull-right " data-target="#huiyuanzu" data-toggle="modal" @click="huiyuanzu({$id},{$tt.id})" data-quanid="{$id}"data-huiyuanzuid="{$tt.id}" ><a style="color:#ffe4de;">加入</a></div-->
					<div class="d-clear"></div>
				</div>
			</div>
		</div>
		{/table}
			{php $hi=1;}
			{mform module=quan form=yonghuzu order=inputtime_asc cid=$id kaiguan=1 leixing=0 num=4 return=tt}
			
			<div class="col-md-{$liangshupc} col-xs-{$liangshuh5} mr-2  d-gao-850 ">
				<div class="d-huiyuan-{$hi} d-yuanjiao-10 d-neikuang-10">
					<div class="d-buhuanhang d-gao-25">{if $tt.tubiao}<img src="{dr_thumb($tt.tubiao)}" width="25" height="25">{/if}{$tt.title}</div>
					{if $tt.huiyuanmoshi==1}
						<div>{if $tt.jifen > 0}{$tt.jifen} <span style="color: #afafaf;">/ 积分</span>{else}免费{/if}</div>
					{elseif $tt.huiyuanmoshi==2}
						<div>{if $tt.feiyong > 0}{$tt.feiyong} <span style="color: #afafaf;">/ 元</span>{else}免费{/if}</div>
					{elseif $tt.huiyuanmoshi==3}
						<div>{if $tt.jingyan > 0}{$tt.jingyan} <span style="color: #afafaf;">/ 经验</span>{else}免费{/if}</div>
					{/if}
					<div class="d-kuan">
						<!--div class="pull-left">详情</div-->
						<div class="pull-right " ><a href="{dr_url('quan/yonghuzu/index',['id'=>$tt.id])}" style="color:#ffe4de;">加入</a></div>
						<!--div class="pull-right " data-target="#huiyuanzu" data-toggle="modal" @click="huiyuanzu({$id},{$tt.id})" data-quanid="{$id}"data-huiyuanzuid="{$tt.id}" ><a style="color:#ffe4de;">加入</a></div-->
						<div class="d-clear"></div>
					</div>
				</div>
			</div>
			{php $hi++;}
			{/mform}
		{/if}
		
	</div>
	
	<div class="d-clear"></div>
</div>


